import request from '@/utils/request'

export function getDictionaries(params) {
  return request({
    url: '/vue-admin-template/table/dictionaries',
    method: 'get',
    params
  })
}

export function createDictionaries(params) {
  return request({
    url: '/vue-admin-template/dictionaries/create',
    method: 'post',
    data:params,
  })
}


export function deleteDictionaries(params) {
  return request({
    url: '/vue-admin-template/dictionaries/delete',
    method: 'post',
    data:params,
  })
}

export function getClassify(params) {
  return request({
    url: '/vue-admin-template/table/classify',
    method: 'get',
    params,
  })
}
